package cool.lichuan.config;

import net.dreamlu.iot.mqtt.core.server.MqttServerCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * TODO 写明类的作用
 *
 * @author lichuan
 * @since 2025/6/7 18:21
 */
@Configuration(proxyBeanMethods = false)
public class MqttServerCustomizerConfiguration {

    @Bean
    public MqttServerCustomizer mqttServerCustomizer() {
        return creator -> {
            // 此处可自定义配置 creator，会覆盖 yml 中的配置
            System.out.println("----------------MqttServerCustomizer-----------------");
        };
    }

}
